home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir29
/
slotto21.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-01-01
|
2KB
|
100 lines
cls
echo off
cls
if '%1' =='' goto nogood
if %1 == A: goto chkdisk
if %1 == a: goto chkdisk
if %1 == B: goto chkdisk
if %1 == b: goto chkdisk
goto nogood
:CHKDISK
if %2 == C: goto doitnow
if %2 == c: goto doitnow
if %2 == D: goto doitnow
if %2 == d: goto doitnow
if %2 == E: goto doitnow
if %2 == e: goto doitnow
if %2 == F: goto doitnow
if %2 == f: goto doitnow
if %2 == G: goto doitnow
if %2 == g: goto doitnow
goto nogood
:DOITNOW
cls
echo -
echo - --------------------------------------------
echo - Super Lotto-Master Hard Disk Install Program
echo - --------------------------------------------
echo -
echo - Installing Super Lotto-Master on drive %2
echo -
echo - Press [Ctrl] [Break] now to stop install
echo - then type Y at prompt
echo -
echo - OR
echo -
echo - Press any key to continue install...
echo -
pause
cls
echo - Creating SUPERLOT [DIR] on %2 drive...
if exist %2\SUPERLOT goto alreadythere
md %2\SUPERLOT
echo - Copying files to %2\SUPERLOT
copy %1\*.* %2\SUPERLOT
if not exist %2\SUPERLOT\MAINMENU.PRO goto baddir
echo -
echo - Installation was successful...
echo -
echo - To run Super Lotto-Master from the hard drive
echo - Type: %2 then press [Enter]
echo - Type: CD\SUPERLOT [Enter]
echo - Type: GO [Enter]
echo -
echo - -=*=- Good Luck with the Lottery -=*=-
goto endofit
:NOGOOD
cls
echo -
echo - Hard disk install program for Super Lotto-Master
echo -
echo - INSTALL [source drive] [target drive]
echo -
echo - To install Super Lotto-Master from drive A: to Hard Drive C:
echo -
echo - you would type...
echo -
echo - INSTALL A: C:
goto endofit
:BADDIR
cls
echo -
echo - Super Lotto-Master install failed!
echo -
echo - Drive %2 may be full or not ready!
echo -
echo - Please check drive and try again...
goto endofit
:ALREADYTHERE
cls
echo - The directory %2\SUPERLOT already exists...
echo -
echo - Install has been aborted...
goto endofit
:ENDOFIT